﻿
using SQLServelDAL.CustomAttributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCourseManager.DataAccess.DataModel
{
    [Table("Users")]
    [PrimaryKey("StuId", autoIncrement = true)]
    public class UsersInfo
    {
      

        [Column("user_id")]
        public int user_id { get; set; }

        [Column("user_name")]
        public string user_name { get; set; }
        [Column("real_name")]
        public string real_name { get; set; }
        [Column("password")]
        public string password { get; set; }

        [Column("avatar")]
        public string avatar { get; set; }

        [Column("is_validation")]
        public int? is_validation { get; set; }

        [Column("is_can_login")]
        public int? is_can_login { get; set; }
        [Column("is_teacher")]
        public int? is_teacher { get; set; }

        [Column("gender")]
        public int? gender { get; set; }

    }
}
